<%@ page language="java" contentType="image/jpeg"%> 
<%@ page import="java.io.BufferedInputStream"%>
<%@ page import="java.net.URL"%>
<%
String img_url=(String)request.getAttribute("img_url");
URL url;
BufferedInputStream in;
url = new URL(img_url);
in = new BufferedInputStream(url.openStream());
ServletOutputStream sout = response.getOutputStream();
byte c [] = new byte[10];
int n = 0;
while((n=in.read(c))!=-1){
	sout.write(c);
}
sout.flush();
sout.close();
%>